﻿Option Strict On
Option Infer On
Option Explicit On

Imports System
Imports GenDotNet.Model.Common

Namespace StoredProcModel

   Public Interface IColumnData
      Inherits IBaseData
      ' This is associated with the recordset NOT the table because different recordsets will need to alias the same
      ' column differently and the ordinal will differ
      ReadOnly Property Name() As String
      ReadOnly Property Caption() As String
      ReadOnly Property Ordinal() As Int32
      ReadOnly Property SQLType() As String
      'ReadOnly Property NETType() As String
      ReadOnly Property IsPrimaryKey() As Boolean
      ReadOnly Property IsAutoIncrement() As Boolean
      ReadOnly Property AllowNulls() As Boolean
      ReadOnly Property MaxLength() As Int32
      ReadOnly Property Precision() As Int32
      ReadOnly Property Scale() As Int32
      ReadOnly Property ColumnAlias() As String
      ReadOnly Property Table() As ITableData
      ReadOnly Property IsReadOnly() As Boolean
   End Interface

End Namespace
